package com.sumainfor.wx.system;

import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure;
import lombok.extern.log4j.Log4j2;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;


/**
 * @author PuaChen
 * @date 2019/6/5
 */
@SpringBootApplication(exclude = {DruidDataSourceAutoConfigure.class})
@EnableDiscoveryClient
@EnableFeignClients
@EnableHystrixDashboard
@ComponentScan(basePackages = {"com.sumainfor.wx.system", "com.sumainfor.common.config"})
@Log4j2
public class SystemApplication {

    public static void main(String[] args) {
        log.info("微信端管理系统启动中.....");
        SpringApplication.run(SystemApplication.class, args);
        log.info(">.....微信端管理系统启动成功.....<");
    }

}
